// sidebar
$menuText:#887e7e;
$menuActiveText:#ffb200;
$subMenuActiveText:#ffb200; //https://github.com/ElemeFE/element/issues/12951

$menuBg:#fff;
$menuHover:#fff;

$subMenuBg:#fff;
$subMenuHover:#fff;

$sideBarWidth: 226px;

// the :export directive is the magic sauce for webpack
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
:export {
  menuText: $menuText;
  menuActiveText: $menuActiveText;
  subMenuActiveText: $subMenuActiveText;
  menuBg: $menuBg;
  menuHover: $menuHover;
  subMenuBg: $subMenuBg;
  subMenuHover: $subMenuHover;
  sideBarWidth: $sideBarWidth;
}

//对应子级，父级的样式
.el-submenu.is-active > .el-submenu__title {
  background: #fff6e2!important;
  border-radius: 0 100px 100px 0;
  color: #ffc12f!important;
}
.el-menu-item.is-active {
  background: #fff6e2!important;
  border-radius: 0 100px 100px 0;
}

// // 子菜单高亮时，使其父菜单也高亮
// .el-menu ::v-deep(.el-sub-menu.is-active > .el-sub-menu__title) {
//   color: #3949AB !important;
// }